<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Department extends Model
{
    //
    protected $table = 'department_info';
    protected $dateFormat = 'Y-m-d H:i:s';

    public function users() {
    	return $this->hasMany('App\Model\Users','department_id','id');
    }
}
